#import <UIKit/UIKit.h>

#import "EMChatManagerDelegate.h"
#import "EMChatManagerUtilDelegate.h"
#import "ChatListViewController.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate,IChatManagerDelegate,
UIAlertViewDelegate>{
    EMConnectionState _connectionState;
}

@property (strong, nonatomic) ChatListViewController *chatController;

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic)NSDate *lastPlaySoundDate;

- (void) sendImageContent;
- (void) sendLinkContent;
- (void) sendTextContent;

-(void)loginStateChange:(NSNotification *)notification;
+(AppDelegate *)sharedDelegate;

@end

